#include <stdio.h>

int main(void)
{
    int input, output, temp;

    input = 1;

    __asm__ __volatile__("movl $0, %%eax;movl %%eax, %1;movl %2, %%eax;movl %%eax, %0;"
                         : "=m"(output), "=m"(temp) /* output */
                         : "r"(input)               /* input */
                         : "eax");                  /* 描述符 */

    printf("%d %d %d", input, output, temp);
    return 0;
}